public class Harvester implements AgriculturalMachine {
    private String location = "未定位";

    @Override
    public void operate() {
        System.out.println("收割机正在收割作物...");
    }

    @Override
    public String getStatus() {
        return "收割机 - 位置: " + location;
    }

    @Override
    public void setLocation(String location) {
        this.location = location;
    }
}